package com.ruoyi.web.controller.mall.shopExtract.mapper;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.ruoyi.web.controller.mall.shopExtract.domain.ShopExtract;

/**
 * 商家提现记录Mapper接口
 * 
 * @author ruoyi
 * @date 2021-01-18
 */
public interface ShopExtractMapper 
{
    /**
     * 查询商家提现记录
     * 
     * @param id 商家提现记录ID
     * @return 商家提现记录
     */
    public ShopExtract selectShopExtractById(String id);
    public ShopExtract getByType(Map<String,Object> map);
    public Map<String,Object> platPhone();

    /**
     * 查询商家提现记录列表
     * 
     * @param shopExtract 商家提现记录
     * @return 商家提现记录集合
     */
    public List<ShopExtract> selectShopExtractList(ShopExtract shopExtract);

    /**
     * 新增商家提现记录
     * 
     * @param shopExtract 商家提现记录
     * @return 结果
     */
    public int insertShopExtract(ShopExtract shopExtract);
    public BigDecimal countByShopId(String shopId);

    /**
     * 修改商家提现记录
     * 
     * @param shopExtract 商家提现记录
     * @return 结果
     */
    public int updateShopExtract(ShopExtract shopExtract);

    /**
     * 删除商家提现记录
     * 
     * @param id 商家提现记录ID
     * @return 结果
     */
    public int deleteShopExtractById(String id);

    /**
     * 批量删除商家提现记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteShopExtractByIds(String[] ids);
}
